/<template>
  <div>
        <van-tabbar v-model="active">
            <van-tabbar-item icon="home-o" to="/home/shouye">首页</van-tabbar-item>
            <van-tabbar-item icon="search" to="/home/fenlei">分类</van-tabbar-item>
            <van-tabbar-item icon="friends-o" to="/home/jingxi">惊喜</van-tabbar-item>
            <van-tabbar-item icon="setting-o" to="/home/shop">购物车</van-tabbar-item>
            <van-tabbar-item icon="setting-o" to="/home/login">登录</van-tabbar-item>
        </van-tabbar>
        <router-view></router-view>
  </div>
</template>

<script>
import Vue from 'vue';
import { Tabbar, TabbarItem } from 'vant';

Vue.use(Tabbar);
Vue.use(TabbarItem);
export default {
    data() {
        return {
            active: 0,
        };
  },
}
</script>

<style>

</style>